{include file="header.tpl"}

   <h1>Tickets</h1>

   <div id="content">
   
      {include file="flashes.tpl"}
      
      <div class="panel" id="select_project">
         <h4>Select a project...</h4>
         <ul id="dashboard_projects">
            {if !$projects}
            <li class="error_text">No projects found!</li>
            <li><a href="{$spf.base_url}/projects/edit/">Create a project...</a></li>
            {/if}
            {foreach item=project from=$projects}
            <li><span>({$project.ticket_count} Tickets)</span><a href="{$spf.base_url}/tickets/browse/{$project.id}">{$project.description}</a></li>
            {/foreach}
         </ul>
      </div>
      
      
   </div>
   
{include file="footer.tpl"}
